package study.spring.rmi.client;

import study.spring.rmi.server.AccountService;

public class RmiClientImpl implements RmiClient {
	
	private AccountService service;
	private String input;

	public void getInfo() {
		String info = service.getAccount(input);
		System.out.println(info);
	}

	// =================================
	public AccountService getService() {
		return service;
	}

	public void setService(AccountService service) {
		this.service = service;
	}

	public String getInput() {
		return input;
	}

	public void setInput(String input) {
		this.input = input;
	}

}
